#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QList>
#include "longnumber.h"

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow {
  Q_OBJECT
public:
  explicit MainWindow(QWidget *parent = 0);
  ~MainWindow();
public slots:
  void addNumber();
  void sumNumbers();
  void clearNumbers();
private:
  Ui::MainWindow *ui;
  QList<LongNumber> numbers;
};

#endif // MAINWINDOW_H
